<?php
function copyright($content) {
	if( !is_Feed() && !is_Single()){
		return $content;
	}
	$title = get_the_title();
	$permalink = get_permalink();
	$hidden = <<<EOF
	<div style="display:none;">
	<a href="http://cogipard.info/">Cogipard Playground</a><a href="$permalink">Cogipard Playground:$title</a>
	</div>
EOF;
	$copyright = <<<EOF
	<div class="eof alignleft">--EOF--</div><div class="clear"></div>
<div class="copyright">
本站文章除注明转载外，均为本站原创或编译<br />
采用 <a href="http://creativecommons.org/licenses/by-nc/3.0/">知识共享署名-非商业性使用 3.0 Unported许可协议 进行许可 </a> <br/>
本文标题：$title<br />
永久链接: <a href="$permalink">$permalink</a><br />
</div>
EOF;
	return $hidden.$content.$copyright;
}
add_filter('the_content', 'copyright');
?>